Package edu.uky.ai.lp.logic
Interface Expression
- All Superinterfaces:
Formula
- All Known Implementing Classes:
BooleanExpression,Conjunction,Disjunction,Fact,NAryBooleanExpression,Negation
public interface Expression extends Formula
An expression is any logical formula with a truth value.
- Author:
- Stephen G. Ware
-
Method Summary
Modifier and Type Method Description Expressionsubstitute(Unifier unifier)Return a version of this formula with its variables replaced with the values assigned to them by a unifier.
-
Method Details
-
substitute
Description copied from interface:FormulaReturn a version of this formula with its variables replaced with the values assigned to them by a unifier.- Specified by:
substitutein interfaceFormula- Parameters:
unifier- the unifier- Returns:
- the formula with variables replaced
-